Skip to content

Conversation

techfg
Copy link
Owner

@techfg techfg commented Jun 27, 2025

Note

This PR assumes go-chi#68 is merged. If go-chi#68 is not merged, the signature to LogExtraAttrs would need to change to pass this information through. PR go-chi#68 introduces a non-breaking change that allows adding additional information moving forward without requiring a breaking change.

Adds passing ResponseBytes and RequestBytesUnread to LogAdditionalAttrsOptions.AdditionalAttrs.

Note - A similar thing can/should be done for RequestBytesRead assuming PR go-chi#67 is merged.

Resolves go-chi#63

@techfg techfg closed this Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant